<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <link rel="stylesheet" href="https://g.alicdn.com/de/prismplayer/2.8.1/skins/default/aliplayer-min.css" />
    <script charset="utf-8" type="text/javascript" src="https://g.alicdn.com/de/prismplayer/2.8.1/aliplayer-min.js"></script>
</head>

<body>
    <div class="prism-player" id="J_prismPlayer"></div>

    <script>
        var player = new Aliplayer({
                id: "J_prismPlayer",

                width: "100%",

                autoplay: false,

                cover: "http://liveroom-img.oss-cn-qingdao.aliyuncs.com/logo.png",

                //播放配置

                encryptType: "1", //如果播放加密视频，则需设置encryptType=1，非加密视频无需设置此项
                vid: "78e04ff6b42f48d6893f8f54291f0125",
                playauth: "playautheyJTZWN1cml0eVRva2VuIjoiQ0FJU2h3TjFxNkZ0NUIyeWZTaklyNWVFTXV6anE2VkkzcmF0TjBUQ3JuSWxXK1pxM0tTVHJqejJJSDlJZEhWb0FPOGZ2dlUwbTJ0WTdQc1psck1xRmNNZkdCMmJQSklxc01nSnFsTDRKcExGc3QySjZyOEpqc1UwMXFNRDZrYXBzdlhKYXNEVkVmbDJFNVhFTWlJUi8wMGU2TC8rY2lyWXBUWEhWYlNDbFo5Z2FQa09Rd0M4ZGtBb0xkeEtKd3hrMnQxNFVtWFdPYVNDUHdMU2htUEJMVXhtdldnR2wyUnp1NHV5M3ZPZDVoZlpwMXI4eE80YXhlTDBQb1AyVjgxbExacGxlc3FwM0k0U2M3YmFnaFpVNGdscjhxbHg3c3BCNVN5Vmt0eVdHVWhKL3phTElvaXQ3TnBqZmlCMGVvUUFQb3BGcC9YNmp2QWF3UExVbTliWXhncGhCOFIrWGo3RFpZYXV4N0d6ZW9XVE84MCthS3p3TmxuVXo5bUxMZU9WaVE0L1ptOEJQdzQ0RUxoSWFGMElVRTF5R21DQ2QvWDRvZ3VSUDF6N0VwTG9pdjltamNCSH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U0MjkxZjAxMjUvc25hcHNob3RzLzA5MTE3Yzk5OTgyODRmYzc4ZWFmYjI3OTUyODE4YmEwLTAwMDAxLmpwZz9FeHBpcmVzPTE2NTE5MzU1OTcmT1NTQWNjZXNzS2V5SWQ9TFRBSXJrd2IyMUt5R2pKbCZTaWduYXR1cmU9dUpHVXQwcWFyaE1hMnhZRGdLOVZZcm9wQTJjJTNEIiwiRHVyYXRpb24iOjE2LjI3Njd9LCJBY2Nlc3NLZXlJZCI6IlNUUy5OVDF5VldGemlpdEY1YnNKcnBXaUYzYThMIiwiQWNjZXNzS2V5U2VjcmV0IjoiOUtzZ0N0S3NQU0xXcDdiZGVGQjRjMWVyODk3clFxSnJWMXZuRGdCZHJWclYiLCJSZWdpb24iOiJjbi1zaGFuZ2hhaSIsIkN1c3RvbWVySWQiOjE2NDI1OTc5MTI2NDYzOTF9",
            },
            function(player) {
                console.log("播放器创建好了。");
            }
        );
    </script>
</body>

</html>